<template>
  <div>
    <div style="line-height: 40px;text-align:center;">结算购物车组件</div>
    <div class="U_cartSettlement-template1">
      <div class="cart-main">
        <div style="display: flex; align-items: center">
          <div class="cart-icon">
            <i class="iconfont icon-fontclass-gouwuche1"></i>
            <div class="num">12</div>
          </div>
          <div style="font-size: 20px">￥123.99</div>
        </div>
        <div class="btn">去结算</div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  props: ["id", "datas", "styles"],
  data() {
    return {};
  },
  computed: {
    /** 样式 */
  },
  methods: {},
};
</script>

<style lang="less" scoped>
// 默认
.component-wrapper {
  width: 375px;
  position: absolute;
  top: 800px;
}
.U_cartSettlement-template1 {
  padding: 10px 15px;
  background: rgb(44, 44, 44);
  color: #fff;
  position: fixed;
  width: 375px;
  top: 730px;
  .cart-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    .cart-icon {
      width: 55px;
      height: 55px;
      line-height: 55px;
      text-align: center;
      background: #FFCC33;
      position: relative;
      border-radius: 50%;
      margin-top: -40px;
      i {
        font-size: 28px;
        color: #000;
      }
      .num {
        position: absolute;
        border-radius: 50%;
        width: 20px;
        height: 20px;
        line-height: 20px;
        top: -4px;
        right: -4px;
        background: #F15353;
        border: 1px solid #FFFFFF;
        color: #fff;
      }
    }
  }
  .btn {
    width: 85px;
    height: 35px;
    line-height: 35px;
    border-radius: 50px;
    font-size: 12px;
    padding: 0px;
    text-align: center;
    background: rgb(239, 84, 82);
  }
}
</style>
